package com.snake.springboot.custom.dao.mybatis.mappers.base;

import com.snake.springboot.custom.dao.mybatis.entity.base.CustRoleAuthDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 商户角色和权限策略关系Mapper
 * 类{@code CustRoleAuthMapper} </br>
 * 创建时间 2025/02/08 09:34
 * @author yangxt
 * @see
 */
@Mapper
public interface CustRoleAuthMapper {
    int deleteByPrimaryKey(@Param("custRoleId") String custRoleId, @Param("strategyId") String strategyId, @Param("customId") Long customId);

    int insertSelective(CustRoleAuthDO record);

    int batchInsert(@Param("list") List<CustRoleAuthDO> list);

    int del(String custRoleId);

    List<CustRoleAuthDO> queryList(CustRoleAuthDO queryDO);

}